#ifndef HEARTSVG_H
#define HEARTSVG_H
#include <QStyledItemDelegate>
#include <QImage>

class Heart
{
public:
    Heart();
    void paint(QPainter *painter, const QRect &rect) const;
    QSize sizeHint() const;
    bool isHeart() const { return heart; }
    void setHeart(const bool heart);

private:
    bool heart;
    QImage pict;
};

Q_DECLARE_METATYPE(Heart)

#endif // HEARTSVG_H
